package com.boot.mgt.model

import com.fasterxml.jackson.annotation.JsonFormat
import java.util.*
import javax.persistence.Column
import javax.persistence.GeneratedValue
import javax.persistence.Id
import javax.persistence.Table

/**
 * TaPoliceSituationMonitoring -
 *
 * @Description TODO
 * @version 1.0.0
 * @author dongzz 2020-06-30
 * @editor dongzz 2020-06-30
 * @editcont TODO
 */
@Table(name = "ta_police_situation_monitoring")
open class TaPoliceSituationMonitoring {

    /*
     * @param id
     */
    @Id
    @GeneratedValue(generator = "JDBC")
    @Column(name = "id")
    var id: Long? = null

    /*
     * 管理部门Id
     */
    @Column(name = "region_id")
    var regionId: String? = null

    /*
     * %Y%m%d
     */
    @Column(name = "time_tag")
    var timeTag: String? = null

    /*
     * 当前出警量(实时变化)
     */
    @Column(name = "cases_accepted_action_current")
    var casesAcceptedActionCurrent: Int? = null

    /*
     * 现场处置量(实时变化)
     */
    @Column(name = "cases_scene_disposal")
    var casesSceneDisposal: Int? = null

    /*
     * 接警量
     */
    @Column(name = "cases_accepted_called")
    var casesAcceptedCalled: Int? = null

    /*
     * 出警量
     */
    @Column(name = "cases_accepted_action")
    var casesAcceptedAction: Int? = null

    /*
     * 受理案件量
     */
    @Column(name = "deal_accepted")
    var dealAccepted: Int? = null

    /*
     * 快赔案件量
     */
    @Column(name = "deal_fast_pay")
    var dealFastPay: Int? = 0

    /*
     * 自行协商案件量
     */
    @Column(name = "deal_to_negotiate")
    var dealToNegotiate: Int? = 0

    /*
     * 微信处理案件量
     */
    @Column(name = "deal_wechat")
    var dealWechat: Int? = 0

    /*
     * 微信处理案件量
     */
    @Column(name = "deal_others")
    var dealOthers: Int? = 0

    /*
     * 超时未接警数量
     */
    @Column(name = "cases_accepted_called_overtime")
    var casesAcceptedCalledOvertime: Int? = null

    /*
     * 超时未出警数量
     */
    @Column(name = "cases_accepted_action_overtime")
    var casesAcceptedActionOvertime: Int? = null

    /*
     * 超时未处理数量(去除)
     */
    @Column(name = "deal_overtime")
    var dealOvertime: Int? = null

    /*
     * 超时未上报数量(去除)
     */
    @Column(name = "cases_report_overtime")
    var casesReportOvertime: Int? = null

    /*
     * 超期未结案数量
     */
    @Column(name = "cases_opened_overtime")
    var casesOpenedOvertime: Int? = null

    /*
     * 超期未关联案件数量(指是否已关联六合一案件)
     */
    @Column(name = "cases_related_overtime")
    var casesRelatedOvertime: Int? = null

    /*
     * @return addTime
     */
    @Column(name = "add_time")
    var addTime: Date? = null

    /*
     * @return addBy
     */
    @Column(name = "add_by")
    var addBy: String? = null

    /*
     * @return updateTime
     */
    @Column(name = "update_time")
    var updateTime: Date? = null

    /*
     * @return updateBy
     */
    @Column(name = "update_by")
    var updateBy: String? = null

}